
FROM adoptopenjdk/openjdk8-openj9:x86_64-alpine-jre8u265-b01_openj9-0.21.0
ARG JAR_FILE

MAINTAINER linqiang@grasp.com.cn

#RUN echo "http://mirrors.aliyun.com/alpine/v3.4/main/" > /etc/apk/repositories \
#    && apk --no-cache add tzdata zeromq \
#    && ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
#    && echo 'Asia/Shanghai' > /etc/timezone

RUN mkdir -p /dmp

WORKDIR /dmp

EXPOSE 8301

ADD ${JAR_FILE} ./app.jar

ENTRYPOINT java  -Djava.security.egd=file:/dev/./urandom -jar app.jar



